package com.vrms.app.dao;

import com.vrms.app.entity.Bed;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BedDao {
    List<Bed> listPage(@Param("page")int page,
                       @Param("size")int size,
                       @Param("bedInfo")String bedInfo);

    int count(@Param("bedInfo") String bedInfo);

    int save(Bed bed);

    int update(Bed bed);

    int remove(int id);

    List<Bed> list();
}
